package k.daimai.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 大麦商城-订单明细表-77
 * </p>
 *
 * @author k
 * @since 2025-03-01
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("dm_orderitem")
@ApiModel(value="DmOrderitem对象", description="大麦商城-订单明细表-77")
public class DmOrderitem implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "编号, 自增列")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "商品数量")
    private Integer count;

    @ApiModelProperty(value = "商品金额")
    private Double total;

    @ApiModelProperty(value = "商品编号:关联dm_product.id")
    private Integer pid;

    @ApiModelProperty(value = "订单编号:关联dm_orders.id")
    private Integer oid;


}
